#include "cBehaviorStock.h"

cBehaviorStock::cBehaviorStock()
{
}

cBehaviorStock::~cBehaviorStock()
{
	Free();
}

BOOL cBehaviorStock::Init()
{
	return TRUE;
}

BOOL cBehaviorStock::Free()
{
	this->m_MySuperActionFlag.clear();
	this->m_MyActionFlag.clear();

	return TRUE;
}

void cBehaviorStock::PushActionFlag(std::string flag)
{
	this->m_MyActionFlag.push_back(flag);
}

void cBehaviorStock::PushSuperActionFlag(string flag)
{
	this->m_MySuperActionFlag.push_back(flag);
}

void cBehaviorStock::PushRecallBeh(cBehUnionData recall)
{
	this->m_RecallBehUnionDatas.push_back(recall);
}

vector<string>* cBehaviorStock::GetSuperActionFlagPtr()
{
	return &m_MySuperActionFlag;
}

vector<string>* cBehaviorStock::GetActionFlagPtr()
{
	return &m_MyActionFlag;
}

vector<cBehUnionData>* cBehaviorStock::GetRecallBehPtr()
{
	return &m_RecallBehUnionDatas;
}
////////////////////////////////////////////////////////////////////////////////////////
cBehUnionData::cBehUnionData()
{
}

cBehUnionData::cBehUnionData(cBehUnionData *BehUnion)
{
	flag = BehUnion->flag;
	Behaviors = BehUnion->Behaviors;
}

cBehUnionData::~cBehUnionData()
{
}
///////////////////////////////////////////////////////////////////////////////////////
